package com.jackiechancinema.ssm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Admin {
    private Integer admin_id;
    private String admin_name;
    private String admin_password;
    private Integer admin_flag;
    private Integer admin_type;
    @JsonFormat(pattern = "yyyy-MM-hh")
    @DateTimeFormat(pattern = "yyyy-MM-hh")
    private Date admin_ctime;
}
